<?php
define('APP_PATH',  dirname(dirname(__FILE__))); //项目目录
define('HTML_TPL',APP_PATH.'/app/common/');//模板位置
define('PUBLIC_LIB', '/');//前端资源url
$app  = new Yaf_Application(APP_PATH . '/conf/app.ini');
$app->bootstrap()->run(); //call bootstrap methods defined in Bootstrap.php
?>